package com.kasa.zto;

import java.io.Serializable;

/**
 * <p>Title: </p>
 *
 * <p>Description: </p>
 *
 * <p>Copyright: Copyright (c) 2008</p>
 *
 * <p>Company: </p>
 *
 * @author gary
 * @version 1.0
 */
public interface ZTOType extends Serializable
{
    void encode(ZTOEncoder encoder) throws ZTOException; //编码

    void decode(ZTODecoder decoder) throws ZTOException; //解码
}
